package com.sam.sqlite;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

/**
 * &lt;br&gt;Created
 *
 * @author wangds
 * @see
 */
public class SamSQLiteHelper extends SQLiteOpenHelper {
    public final static String DB_NAME ="sqlite";
    public final static int DB_VERSION =  1;

    public SamSQLiteHelper(Context context) {
        super(context, DB_NAME, null, DB_VERSION);
    }


    @Override
    public void onCreate(SQLiteDatabase db) {
        db.execSQL(UserDao.create_table);
    }

    @Override
    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
    }
}
